package com.starbooks.tmail.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.lowagie.text.Document;
import com.lowagie.text.pdf.PdfWriter;

public interface PdfExportService {
  /**
   * 生成pdf的方法
   * @param model model
   * @param document document
   * @param writer writer
   * @param request request
   * @param response response
   */
  public void make(Map<String, Object> model, Document document,
                   PdfWriter writer, HttpServletRequest request,
                   HttpServletResponse response);

}
